// JavaScript Document
function validate(){
	
	var reg = document.getElementById('txtReg');
	var cat = document.getElementById('sltSubgr');
	var year = document.getElementById('sltYr');
	
	var regs= document.getElementById('txtReg').value;
	var cats = document.getElementById('sltSubgr').value;
	var years = document.getElementById('sltYr').value;
	
	
if(notEmpty(reg, "Plese enter registration number")){	
	if(madeSelection(cat, "Select the Subject Code")){
	       if(madeSelection(year, "Select the Year")){
			
			           // var queryString ="?subgr=" + cats +"&year="+years+ "&reg=" +regs ;
	                    
						return true;
			     	}
		           return false;
				  }
				   return false;
			   }
	
	      return false;
		 }
		 
		 
		 
		 
		
	